import request from "../utils/request.js";

export function getUserInfoByToken(){
    return request.get("/user/getUserInfoByToken/")
}

export function edit(user){
    return request.put("/user/edit",user)
}

export function editPassword(user){
    return request.put("/user/editPassword",user)
}
